package com.wen;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;


//开启redis注解缓存
@EnableCaching
//mapper接口扫描包，指明mapper接口所在包，然后会自动为mapper接口创建代理对象并加入IOC容器中
@MapperScan(basePackages = "com.wen.mapper")
@SpringBootApplication
public class WarehouseApplication {

    public static void main(String[] args) {
        SpringApplication.run(WarehouseApplication.class, args);
    }

}
